﻿using System;

namespace Program03
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = 12;
            {
                int y = 80;
                Console.WriteLine("x="+x);
                Console.WriteLine("y=" + y);
                //y的作用域只能在{}内

            }
            Console.WriteLine("x=" + x);
            
        }

    }
}
